import fetch from 'common/src/utils/fetch';


/**
 *重考参数设置
 */
function setAuth(data) {
  return fetch({
    url: '/api/electionservice/undergraduateExamReexamAuth/set',
    method: 'post',
    data
  })
}

/**
 *重考参数设置查询
 */
function queryAuth(data) {
  return fetch({
    url: '/api/electionservice/undergraduateExamReexamAuth/query?calendarId='+ data,
    method: 'post',
    data
  })
}

export default {
  setAuth: setAuth,
  queryAuth: queryAuth
};
